<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,shrink-to-fit=no">
    <title>Document</title>
    <style>
         *{
        margin: 0;
        padding: 0;
        user-select: none;
        box-sizing: border-box;
      }
      
    
    </style>
    <link rel="stylesheet" href="bootstrap-4.5.0-dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
                    <nav class="navbar navba-expand-sm bg-dark navbar-dark">
                      
                          <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navtop">
                          <span class="navbar-toggler-icon"></span>
                        </button>
                          <div class="collapse navbar-collapse" id="navtop"></div>
    <ul class="nav nav-pills">
        <li class="nav-item dropdown">
            <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">首页</a>
            <ul class="dropdown-menu">
                <li><a href="#">登录</a>
                </li>
                <li>
                    <a href="#">注册</a>
                </li>
            </ul>
        </li>
        <li class="nav-item">
            <a href="#menu1" class="nav-link" data-toggle="tab">每日一图</a>
        </li>
        <li class="nav-item">
            <a href="#menu2" class="nav-link" data-toggle="tab">文章分类</a>
        </li>
    </ul>
    <script src="bootstrap-4.5.0-dist/js/jquery-3.5.1.slim.min.js"></script>
<script src="bootstrap-4.5.0-dist/js/popper.min.js"></script>
<script src="bootstrap-4.5.0-dist/js/bootstrap.min.js"></script>
                  </nav>
                  <div class="box">
                    <div class="box-img"><img src="img/IP-C (1).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (2).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (3).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (1).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (2).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (3).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (1).jpg" width="1000" height="460"></div>
                    <div class="box-img"><img src="img/IP-C (2).jpg" width="1000" height="460"></div>
                    <div class="box-left">&lt</div>
                    <div class="box-right">&gt</div>
                    <div class="box-zhiding">
                <ul>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                </ul>
                    </div>
                  </div>
                  <script type="text/javascript" src="jquery-3.4.1.min.js">
                    $(function(){
                        var index=0;
                        serInteral(function(){
                            index++;
                            $(".box-img").css("opacity","0");
                            $(".box-img").eq(index).css("opacity","1");
                        },2000)
                    })
                  </script>
</body>
</html>